package viewInterfaces;

import controllerInterfaces.IControllerSaveTestResult;

/**
 * Interfaces used in views to establish the parameters of result saved.
 * 
 * @author Andy Cullache
 */
public interface IViewSaveTestResult {
	
	/**
	 * Sets the controller of instances that implements this interface.
	 * 
	 * @param myController      Save test result controller.
	 */
	public void setController(IControllerSaveTestResult myController);
	
	/**
	 * Method used to display error messages with the respective code.
	 * 
	 * @param code      Error code.
	 * @param message      Message code.
	 */
	public void renderError(int errorCode, String errorMessage);
}
